package com.zh.operation.service;

import com.zh.common.domain.DictDO;
import com.zh.operation.domain.OperationGoodsDO;
import com.zh.operation.domain.OperationGoodsDOVO;

import java.util.List;
import java.util.Map;

/**
 * 养老院物品表
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-01-17 15:36:38
 */
public interface OperationGoodsService {
	
	OperationGoodsDO get(String id);
	
	List<OperationGoodsDOVO> list(Map<String, Object> map);

	List<DictDO> listGoodsType();

	int count(Map<String, Object> map);
	
	int save(OperationGoodsDO goods);
	
	int update(OperationGoodsDO goods);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	OperationGoodsDO isExist(String goodsName);
}
